tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: mount_mfs: why chdir?
Date: Sun, 30 Mar 2025 14:42:03 -0400 (EDT)
From: Mouse <mouse%Rodents-Montreal.ORG@localhost>
Message-ID: <202503301842.OAA17334%Stone.Rodents-Montreal.ORG@localhost>
| I think it should be done _after_ the mount() call,
If you do it that way, there would be a race with an immediately following
umount, which would fail if attemted between the mount and the chdir which
follows.
kre
Home |
Main Index |
Thread Index |
Old Index