D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Fedora 2 Shutdown Problem



On Monday 26 July 2004 10:16, Peter Lloyd-Jones wrote:
Neil. when you talk about below a mount point to you mean in a sub
directory.

A specific subdirectory. If the device is mounted at /mnt/device, then 
anything looking at /mnt/device/test/another/folder is making the device 
appear busy. Remember that with symlinks, it isn't necessarily clear where 
you are actually located - if you had ~/mydevice symlinked 
to /mnt/device/somefolder then having a bash prompt located in ~/mydevice 
would also make the device appear busy.

Use pwd -P

In this example, ~/documents/gnucash contains a symbolic link called gnucash 
that points to /opt/neil/gnucash:

neil@xxxxxxxx:~/documents/gnucash/gnucash$ pwd -P
/opt/neil/gnucash
neil@xxxxxxxx:~/documents/gnucash/gnucash$ pwd -L
/home/neil/documents/gnucash/gnucash

Symbolic links show up in the ls -l listing like this:
neil@xxxxxxxx:~/documents/gnucash$ ls -l
lrwxrwxrwx  1 neil neil   18 Jul 23 17:33 gnucash -> /opt/neil/gnucash/


-- 

Neil Williams
=============
http://www.codehelp.co.uk/
http://www.dclug.org.uk/
http://www.isbn.org.uk/
http://sourceforge.net/projects/isbnsearch/

http://www.biglumber.com/x/web?qs=0x8801094A28BCB3E3

Attachment: pgp00033.pgp
Description: signature


Lynx friendly