Re: [yocto] What's mounting this partition?
If you have a sda1 drive, you can do: udevadm test /sys/class/block/sda1 to get debug info. From: yocto-boun...@yoctoproject.org <yocto-boun...@yoctoproject.org> on behalf of Paul D. DeRocco <pdero...@ix.netcom.com> Sent: Sunday, September 27, 2015 2:52 AM To: 'Khem Raj' Cc: yocto@yoctoproject.org Subject: Re: [yocto] What's mounting this partition? > From: Khem Raj [mailto:raj.k...@gmail.com] > > are you installing udev-extraconf into image? IIRC that was > doing it in my cases some time ago. That adds some rules to /etc/udev/rules.d, including automounting. I had that in there for a day or so, because I also need to access an external flash drive sometimes, but it had some insoluble issues, so I took it out again. So none of those rules are present now, nor is the mount.sh script. There are a bunch more rules in /lib/udev/rules.d, but none have anything to do with mounting, as far as I can see. I wish there was a way I could see this mysterious mounting happen. Nothing shows up in dmesg or in journalctl. -- Ciao, Paul D. DeRocco Paulmailto:pdero...@ix.netcom.com -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] What's mounting this partition?
> From: Khem Raj [mailto:raj.k...@gmail.com] > > are you installing udev-extraconf into image? IIRC that was > doing it in my cases some time ago. That adds some rules to /etc/udev/rules.d, including automounting. I had that in there for a day or so, because I also need to access an external flash drive sometimes, but it had some insoluble issues, so I took it out again. So none of those rules are present now, nor is the mount.sh script. There are a bunch more rules in /lib/udev/rules.d, but none have anything to do with mounting, as far as I can see. I wish there was a way I could see this mysterious mounting happen. Nothing shows up in dmesg or in journalctl. -- Ciao, Paul D. DeRocco Paulmailto:pdero...@ix.netcom.com -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] What's mounting this partition?
My x86 system, built with Yocto Fido, boots from /dev/sda2 on a USB flash drive. There's another partition on /dev/sda1 which I wish to mount with a systemd mount unit, or with a line in /etc/fstab. But either way is failing because /dev/sda1 is already mounted on /media/sda1. Lennart over at the systemd list suggested it might be udisks doing this, but I don't see any files matching *udisks* anywhere in my file system, or even in my build tree. An older version of this system, built two years ago with Dylan, doesn't have this problem. Nothing relevant changed in my meta-data, so somewhere else in this gigantic universe something has changed. Does anyone know what bit of software would be responsible for automounting my /dev/sda1 partition, which is not my root file system, and doing so before fstab or systemd mounts are processed? Also, when /dev/sda2 (my root file system) is mounted, it gets certain default options. Is there a way to modify these options? I'd like to include noatime, to avoid needless writes to my flash drive. -- Ciao, Paul D. DeRocco Paulmailto:pdero...@ix.netcom.com -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] What's mounting this partition?
> On Sep 26, 2015, at 10:39 AM, Paul D. DeRoccowrote: > > My x86 system, built with Yocto Fido, boots from /dev/sda2 on a USB flash > drive. There's another partition on /dev/sda1 which I wish to mount with a > systemd mount unit, or with a line in /etc/fstab. But either way is > failing because /dev/sda1 is already mounted on /media/sda1. Lennart over > at the systemd list suggested it might be udisks doing this, but I don't > see any files matching *udisks* anywhere in my file system, or even in my > build tree. > > An older version of this system, built two years ago with Dylan, doesn't > have this problem. Nothing relevant changed in my meta-data, so somewhere > else in this gigantic universe something has changed. Does anyone know > what bit of software would be responsible for automounting my /dev/sda1 > partition, which is not my root file system, and doing so before fstab or > systemd mounts are processed? are you installing udev-extraconf into image? IIRC that was doing it in my cases some time ago. > > Also, when /dev/sda2 (my root file system) is mounted, it gets certain > default options. Is there a way to modify these options? I'd like to > include noatime, to avoid needless writes to my flash drive. > > -- > > Ciao, Paul D. DeRocco > Paulmailto:pdero...@ix.netcom.com > > -- > ___ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto signature.asc Description: Message signed with OpenPGP using GPGMail -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto