Re: careful with that umount options, Eugene

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

 



On Thu, Jun 06, 2019 at 07:31:47PM -0400, Theodore Ts'o wrote:
> On Thu, Jun 06, 2019 at 02:59:47PM +0200, Karel Zak wrote:
> > On Tue, Jun 04, 2019 at 01:51:58PM +0200, Harald Dunkel wrote:
> > > Hi folks
> > > 
> > > by accident I pasted
> > > 
> > > 	umount ls -al /mnt/
> > > 
> > > into bash. My bad. AFAICT /proc was umounted immediately, the
> > > rest died slowly. Don't try this at home.
> > 
> > Fixed ... new version:
> > 
> >  # umount ls -al /mnt/
> >  umount: unexpected arguments
> >  Try 'umount --help' for more information.
> 
> Hmm...  Should we also prevent a lazy unmount of the root file system?

Not sure if we want to maintain extra rule/restriction in userspace.
Is there any reason why this feature is supported by kernel?

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux