About file system?
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > About file system?




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    About file system?  
Benjamin Wang


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-19-04 07:34 PM

Hello,

The platform I am working on is sun solaris 2.7. And how can I get the
number of file system and their path?


Thanks,
Ben







[ Post a follow-up to this message ]



    Re: About file system?  
Derk Gwen


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-19-04 09:33 PM

"Benjamin Wang" <zwang2@lucent.com> wrote:
# Hello,
#
# The platform I am working on is sun solaris 2.7. And how can I get the
# number of file system and their path?

df shows the devices and mount points. (Also mount can show this, but the
parameters vary by system.) Not all devices correspond to actually disk
drives: I'm not sure if you want just disk drives or all mounts.

# df
Filesystem              512-blocks     Used   Avail Capacity  Mounted on
/dev/disk0s5              39066000 32042824 6632520    83%    /
devfs                          182      182       0   100%    /dev
fdesc                            2        2       0   100%    /dev
<volfs>                       1024     1024       0   100%    /.vol
automount -nsl [303]             0        0       0   100%    /Network
automount -fstab [309]           0        0       0   100%    /automount/Ser
vers
automount -static [309]          0        0       0   100%    /automount/sta
tic

--
Derk Gwen http://derkgwen.250free.com/html/index.html
Haven't you ever heard the customer is always right?





[ Post a follow-up to this message ]



    Re: About file system?  
Fletcher Glenn


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-20-04 08:35 AM



Derk Gwen wrote:
> "Benjamin Wang" <zwang2@lucent.com> wrote:
> # Hello,
> #
> # The platform I am working on is sun solaris 2.7. And how can I get the
> # number of file system and their path?
>
> df shows the devices and mount points. (Also mount can show this, but the
> parameters vary by system.) Not all devices correspond to actually disk
> drives: I'm not sure if you want just disk drives or all mounts.
>
> # df
> Filesystem              512-blocks     Used   Avail Capacity  Mounted on
> /dev/disk0s5              39066000 32042824 6632520    83%    /
> devfs                          182      182       0   100%    /dev
> fdesc                            2        2       0   100%    /dev
> <volfs>                       1024     1024       0   100%    /.vol
> automount -nsl [303]             0        0       0   100%    /Network
> automount -fstab [309]           0        0       0   100%    /automount/S
ervers
> automount -static [309]          0        0       0   100%    /automount/s
tatic
>
> --
> Derk Gwen http://derkgwen.250free.com/html/index.html
> Haven't you ever heard the customer is always right?

What works on Solaris is the command 'df -Fufs'.  This only
lists the mounted file systems that actually are of type "ufs".

--

Fletcher Glenn






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:42 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register