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 running as

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

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 killing the

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 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 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 unmount.

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 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 directory on

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

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 against

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 the

Re: umount device busy

2012-06-03 Thread David Whytcross
Hi Gary, if you are using xfce4, then you have most likely got gamin running as well, this caused the same problem for me when trying to umount an external USB drive I resolved my umount problem by including the -f switch #umount -f /mnt/goflex Dave Whytcross - Original Message

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

Re: umount device busy

2012-06-03 Thread Robert Bonomi
Gary Aitken free...@dreamchaser.org 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.

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 Waitman Gobble
On Sun, Jun 3, 2012 at 7:59 AM, Gary Aitken free...@dreamchaser.org 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

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 using the xfce4

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 may provide