Anton Zinoviev wrote: > > What about doing something with the mount.d script output? It seems > > that is designed to allow undoing of mount.d changes, but currently > > it's thrown away and we have this more hardcoded umount_target > > instead. > > This was designed to work for filesystems like UMSDOS that can not be > directly mounted and unmounted.
Hmm, don't follow. It seemed it would work for any fs, and even for swap. > > I was thinking maybe save it to /var, and have umount_target first > > unmount as it does now, and then run the stuff in /var too. > > This will not work if the filesystems are mounted by some other tool. Right, that's why I said to still have umount_target umount everything in /target, but first (or after?) run the unmount commands output by the mount.d scripts. -- see shy jo
signature.asc
Description: Digital signature