Opened 23 years ago

Closed 23 years ago

Last modified 23 years ago

#182 closed defect (duplicate)

detect all proc file systems before unmounting file systems

Reported by: gerard@… Owned by: gerard@…
Priority: highest Milestone:
Component: Book Version: CVS
Severity: normal Keywords:
Cc:

Description

umount -a doesn't unmount proc file systems. That's all great, so we added a seperate umount of /proc to the umountfs script. But, proc may be mounted on other places too, like $LFS/proc and often poeple forget to unmount it, so $LFS can't be unmounted ,etc, etc.

Let's see if we can find a nice solution to parse the /proc/mounts file (/etc/mtab isn't an option always in case / is mounted read-only), get all proc file systems and unmount them.

Change History (11)

comment:1 by gerard@…, 23 years ago

Resolution: later
Status: newclosed

comment:2 by gerard@…, 23 years ago

Resolution: later
Status: closedreopened

comment:3 by gerard@…, 23 years ago

Priority: normalhighest

comment:4 by gimli@…, 23 years ago

umount -a -tproc?

comment:5 by gimli@…, 23 years ago

Again, I think:

umount -a -t proc

should do the trick. I'd love to fix all this, but I'm not into the LFS bootscripts at all. I use BSD style bootscripts exclusively, so I'm not the right person to fix the bootscript. Please... ;)

comment:6 by gerard@…, 23 years ago

Yes, already taken care of in the scripts I rewrote. I should have marked this bug a duplicate a while ago. Guess I forgot

comment:7 by gerard@…, 23 years ago

Resolution: duplicate
Status: reopenedclosed

* This bug has been marked as a duplicate of 13 *

comment:8 by gerard@…, 23 years ago

Resolution: duplicate
Status: closedreopened

owner needs to be set to Gerard, reopening then closig again

comment:9 by gerard@…, 23 years ago

Owner: changed from lfs-book@… to gerard@…
Status: reopenedassigned

comment:10 by gerard@…, 23 years ago

Resolution: duplicate
Status: assignedclosed

* This bug has been marked as a duplicate of 13 *

comment:11 by markh@…, 23 years ago

this was decided against as the code to do it is too messy. closing

Note: See TracTickets for help on using tickets.