🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.sun
Article #12769

Re: How do I ls or du local "/" partition

#12769
From: David L. Kensiski 929-8844
Date: Thu, 11 May 1989 06:54
20 lines
1363 bytes
hamilton@aztec.osbusouth.xerox.com (Bruce Hamilton) asks:
> Each machine has a partition called "/".  How do I list what's there?

You can mount the root partition on a different machine.  An nfs mount
does not propogate if the filesystem is mounted on another machine.  This
lets "du" and "ls -R", for example, list only the root partition.  On the
remote machine:

	mkdir /mnt
	mount host:/ /mnt
	du mnt

Naturally, you have to be root on the remote machine to use the mount
command.  I'm not sure if this is the easiest way, but it works as long as
the machine in question is exporting /.

David L. Kensiski                          1772 Tribute Road
Martin Marietta Data Systems               Sacramento, CA 95815
UUCP: uunet.uu.com!mmsac!david             VOICE: (916) 929-8844
UUCP: sun.com!sacto!mmsac!david
Technical Details
Message-ID: <8905041605.AA00786@cygnus.>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!mit-eddie!uw-beaver!rice!sun-spots-request

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!mit-eddie!uw-beaver!rice!sun-spots-request
From: sacto!mmsac!cygnus!david@sun.com (David L. Kensiski 929-8844)
Newsgroups: comp.sys.sun
Subject: Re: How do I ls or du local "/" partition
Keywords: SunOS
Message-ID: <8905041605.AA00786@cygnus.>
Date: 11 May 89 06:54:00 GMT
Sender: usenet@rice.edu
Organization: Sun-Spots
Lines: 20
Approved: Sun-Spots@rice.edu
Original-Date: Thu, 4 May 89 09:05:51 PDT
X-Sun-Spots-Digest: Volume 7, Issue 282, message 4 of 19