Re: Masking mount units

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



31.10.2024 16:03, Phillip Susi wrote:
Lennart Poettering <lennart@xxxxxxxxxxxxxx> writes:

Doing the locking on the fd you use for writing makes things a lot
easier, because as mentioned udev will automatically retrigger block
devices if an inotify event on it is seen that indicates
"close-after-write". If you deal with multiple fds you need to make

That is exactly what I DON'T want to happen.  If udev retriggers when
the fd is closed, then that results in the partition being automatically
mounted just because libparted read the partition table.


Way partition is mounted? What mounts it?

systemd stopped pulling mount units by device in 242:

        * The .device units generated by systemd-fstab-generator and other
          generators do not automatically pull in the corresponding .mount unit
          as a Wants= dependency. This means that simply plugging in the device
          will not cause the mount unit to be started automatically.

It sounds like you are shooting the messenger.



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux