Re: Noob boo boo with samba

From: Tom Huppi (thuppi_at_huppi.com)
Date: 01/21/05

  • Next message: aklist_061666: "keeping 5.1 install up to date?"
    Date: Fri, 21 Jan 2005 05:28:02 -0500 (EST)
    To: Xian <ml-freebsd-newbies@codepad.net>
    
    

    On Fri, 21 Jan 2005, Xian wrote:

    > On Friday 21 January 2005 09:09, Tom Huppi wrote:
    > > On Thu, 20 Jan 2005, Ronny Hippler wrote:
    > > > -----BEGIN PGP SIGNED MESSAGE-----
    > > > Hash: SHA1
    > > >
    > > > On Wed, 19 Jan 2005 23:59:12 -0500 (EST), Tom Huppi wrote:
    > > > >> Well here is a noob sharing his experience. Don't mount a windows
    > > > >> share in your home dir! Now how do I unmount this shy of rebooting? it
    > > > >> just keeps giving a device is busy error even from root account. Doh!
    > > > >
    > > > >Try 'lsof' to see what processes are using what files. I've not
    > > > >tried it on a windows share, so YMMV, but it's the best tool
    > > >
    > > > Well I wound up rebooting because I am impatient :) I did install lsof
    > > > for the next time I do something stupid. thanks for the info.
    > >
    > > I doubt that what you did is stupid. You just have to do it
    > > right, and I suspect that you did else it probably wouldn't have
    > > worked.
    > >
    > > The problem you seem to have run across is pretty common. So is
    > > the solution you choose...you are not the first person to have
    > > done so...this is one of the few things I actually know for a
    > > fact to be true :)
    > >
    > > Thanks,
    > >
    > > - Tom
    > >
    >
    > You can use the -f option on umount, but I wouldn'trecomend this ulless you
    > are sure your not going to do dammage.

    More often than not (in my experiance) the -f option is not
    very effective. I actually don't recall exactly which OS's I've
    found this to be true on. All of the ones I've used, I think.

    > I mounted a USB Pen drive over my home dir and everything fell over. It ended
    > in a kernel panic when I pulled the drive out still mounted. Oops.

    I suspect that protecting against the disaprerance of a filesystem
    which is in use would be both difficult to implement, and prone to
    induce performance penalties. I suspect that a concious trade-off
    was made on the part of the OS designers, and that is at the root
    of the extreame difficulty in umounting filesystems at times.

    'umass' (which is asssociated with the pen drive I believe) should
    be different though, I think. In that case I suspect it was
    simply some sort of bug, and hopefully solved by now.

    iirc, back in the FreeBSD 2.x timeframe it was actually _expected
    behavior_ to get a kernel panic if one ejected a mounted floppy.
    Then folks decided that it was to much of a burdon on us poor
    newbies and did something about it.

    Thanks,

     - Tom
    _______________________________________________
    freebsd-newbies@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"


  • Next message: aklist_061666: "keeping 5.1 install up to date?"

    Relevant Pages

    • Vodka and accordions reed grinfing.
      ... I suspect that it will be very little. ... poetry is stupid for him, but for me "Samohona" that Ukes ... Recording Business" Only idiot can believe that there are money ... come to his shop its' complete disaster. ...
      (rec.music.makers.squeezebox)
    • Re: Plot Resolution: The Lady or the Tiger
      ... *Now* I am capable of saying, okay, she has different values than I do, ... *saying* that, because I've learned to be flexible on the surface. ... Deep down, however, I suspect I still think she is stupid, although not, ...
      (rec.arts.sf.composition)
    • Re: More innocent people will be shot dead says police chief !
      ... >> The stupidity in this case was in identifying him as a suspect. ... That is widely reported, and ascribed to police ... To pick out somebody on the basis of living in a particular apartment ... but to say it's stupid suggests that you know what it ...
      (rec.travel.europe)
    • Re: How is it possible to be this stupid Raja?
      ... conversations with trolls like Rupes and Whimpy don't go anywhere. ... suspect after 11 years, ... is basically impossible to have rational conversations with them. ... Pedro is not stupid as he works in academia - ...
      (rec.sport.tennis)
    • Re: [PATCH] Fake NUMA emulation for PowerPC
      ... (Not saying it's a stupid idea, ... just wondering what the reason for doing it is). ... static int numa_enabled = 1; ... I suspect that this should be good enough for a command line option. ...
      (Linux-Kernel)