Re: umount device busy

2012-06-04 Thread Gary Aitken
On 06/04/12 13:40, Polytropon wrote: > On Mon, 04 Jun 2012 13:15:33 -0600, Gary Aitken wrote: >> Can you tell me where any of this is documented? >> I can't find squat about gamin. >> no man page and no docs in the /usr/local tree > > Welcome to the realm of modern software and its aversion > agai

Re: umount device busy

2012-06-04 Thread Warren Block
On Mon, 4 Jun 2012, Gary Aitken wrote: On 06/04/12 08:15, Warren Block wrote: gamin opens the directory (of the newly-mounted device) so it can check for new files being created or files being renamed, and then notify the window manager, which updates the user's desktop. The open makes the d

Re: umount device busy

2012-06-04 Thread Gary Aitken
On 06/04/12 02:28, Lars Eighner wrote: >>> This almost always means someone (i.e. you) is sitting in the directory. >>> If you tried this while su'ed and the un-su'ed you were still in the >>> directory /mnt/goflex, you'd get this message. This may also happen if >>> someone (i.e. you) is in the d

Re: umount device busy

2012-06-04 Thread Polytropon
On Mon, 04 Jun 2012 13:15:33 -0600, Gary Aitken wrote: > Can you tell me where any of this is documented? > I can't find squat about gamin. > no man page and no docs in the /usr/local tree Welcome to the realm of modern software and its aversion against documentation. :-) In such cases, you often

Re: umount device busy

2012-06-04 Thread Gary Aitken
On 06/04/12 08:15, Warren Block wrote: > gamin opens the directory (of the newly-mounted device) so it can check for > new files being created or files being renamed, and then notify the window > manager, which updates the user's desktop. The open makes the device in-use, > preventing an unmoun

Re: umount device busy

2012-06-04 Thread Wojciech Puchar
As nearly as I can tell, I don't have anything pointing at that drive. Questions: 1. What does the "No such file or directory" mean from mkdir? It's a relative dir name, and I'm sitting at a valid dir. no NTFS driver for FreeBSD is really well done. fusefs based ntfs driver in my opinion

Re: umount device busy

2012-06-04 Thread Warren Block
On Mon, 4 Jun 2012, Gary Aitken wrote: On 06/03/12 21:05, Polytropon wrote: Maybe the ganim "lock" is regarding a device file? Not sure about that, I'm not using it here. I'm not sure what the deal is here, but exiting X does solve the problem. I didn't try just killing the environment by

Re: umount device busy

2012-06-04 Thread Polytropon
On Mon, 04 Jun 2012 01:56:49 -0600, Gary Aitken wrote: > On 06/03/12 21:05, Polytropon wrote: > > Maybe the ganim "lock" is regarding a device file? Not sure > > about that, I'm not using it here. > > I'm not sure what the deal is here, but exiting X does solve > the problem. I didn't try just ki

Re: umount device busy

2012-06-04 Thread Lars Eighner
On Sun, 3 Jun 2012, Gary Aitken wrote: This almost always means someone (i.e. you) is sitting in the directory. If you tried this while su'ed and the un-su'ed you were still in the directory /mnt/goflex, you'd get this message. This may also happen if someone (i.e. you) is in the directory on an

Re: umount device busy

2012-06-04 Thread Gary Aitken
On 06/03/12 21:05, Polytropon wrote: > Good idea. However, you can do efficient backups of "Windows" > data by using the "ntfsprogs" tools. This makes sure they can > even be read under non-"Windows" systems. I'll look into that. >>> if you are using xfce4, then you have most likely got gamin >

Re: umount device busy

2012-06-03 Thread Polytropon
On Sun, 03 Jun 2012 20:28:28 -0600, Gary Aitken wrote: > > Consider NTFS being part of the problem, i. e. problems with the > > _ntfs file system driver provided by the OS (as it seems you're > > not using FUSE tools here - there are "fusefs-ntfs" and "ntfsprogs" > > in the ports collection which m

Re: umount device busy

2012-06-03 Thread Gary Aitken
Combining several responses to save traffic; thanks all >> Something I'm overlooking here and a lot of questions I can't seem to find >> the answers to... >> >> I mounted a usb drive >> mount -t ntfs /dev/da0s1 /mnt/goflex >> >> Then, as nearly as I can remember... >> I then poked around a bit us

Re: umount device busy

2012-06-03 Thread Waitman Gobble
On Sun, Jun 3, 2012 at 7:59 AM, Gary Aitken wrote: > Something I'm overlooking here and a lot of questions I can't seem to find > the answers to... > > I mounted a usb drive > mount -t ntfs /dev/da0s1 /mnt/goflex > > Then, as nearly as I can remember... > I then poked around a bit using the xfc

Re: umount device busy

2012-06-03 Thread Warren Block
On Sun, 3 Jun 2012, Gary Aitken wrote: 6. And finally, any idea why umount says the device is busy? xfce uses gamin to scan for new files and directories, but it causes just this problem. Edit /usr/local/etc/gamin/gaminrc and set it to poll the device directory: poll /mnt/* _

Re: umount device busy

2012-06-03 Thread Robert Bonomi
Gary Aitken wrote: > > Something I'm overlooking here and a lot of questions I can't seem to find > the answers to... > > I mounted a usb drive > mount -t ntfs /dev/da0s1 /mnt/goflex > > Then, as nearly as I can remember... > I then poked around a bit using the xfce4 browser. > I tried to

Re: umount device busy

2012-06-03 Thread Lars Eighner
On Sun, 3 Jun 2012, Gary Aitken wrote: Something I'm overlooking here and a lot of questions I can't seem to find the answers to... I mounted a usb drive mount -t ntfs /dev/da0s1 /mnt/goflex Then, as nearly as I can remember... I then poked around a bit using the xfce4 browser. I tried to m

Re: umount device busy

2012-06-03 Thread David Whytcross
- From: "Gary Aitken" To: "FreeBSD Mailing List" Sent: Monday, June 04, 2012 12:59 AM Subject: umount device busy Something I'm overlooking here and a lot of questions I can't seem to find the answers to... I mounted a usb drive mount -t ntfs /dev/da0s1 /mn

Re: umount device busy

2012-06-03 Thread Polytropon
On Sun, 03 Jun 2012 08:59:11 -0600, Gary Aitken wrote: > Something I'm overlooking here and a lot of questions I can't > seem to find the answers to... > > I mounted a usb drive > mount -t ntfs /dev/da0s1 /mnt/goflex > > Then, as nearly as I can remember... > I then poked around a bit using

umount device busy

2012-06-03 Thread Gary Aitken
Something I'm overlooking here and a lot of questions I can't seem to find the answers to... I mounted a usb drive mount -t ntfs /dev/da0s1 /mnt/goflex Then, as nearly as I can remember... I then poked around a bit using the xfce4 browser. I tried to mkdir from the mount point as a normal