Re: detecting drives for windows and linux
- From: aleaxit@xxxxxxxxx (Alex Martelli)
- Date: Sun, 26 Mar 2006 07:27:41 -0800
Max <rabkin@mweb[DOT]co[DOT]za> wrote:
BWill wrote:
oh, I wasn't expecting a single solution for both platforms, just some
good solutions
thanks
Are you aware that this idea is somewhat foreign to Linux? (Maybe you
are and want to do it anyway?) Linux puts the whole file system
(including mounted iPods, ISOs and NTFS drives) in one hierarchy.
Yes, but you may still want to distinguish (because, for example, hard
linking doesn't work across filesystems, and mv is not atomic then).
Running a df command is a good simple way to find out what drives are
mounted to what mountpoints -- the mount command is an alternative, but
its output may be slightly harder to parse than df's.
Alex
.
- Follow-Ups:
- Re: detecting drives for windows and linux
- From: Florian Diesch
- Re: detecting drives for windows and linux
- References:
- detecting drives for windows and linux
- From: BWill
- Re: detecting drives for windows and linux
- From: Tim Golden
- Re: detecting drives for windows and linux
- From: BWill
- Re: detecting drives for windows and linux
- From: Max
- detecting drives for windows and linux
- Prev by Date: Re: SSH, remote login, and command output
- Next by Date: Re: Module documentation
- Previous by thread: Re: detecting drives for windows and linux
- Next by thread: Re: detecting drives for windows and linux
- Index(es):