Professional Web Applications Themes

About file system? - UNIX Programming

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

  1. #1

    Default About file system?

    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


    Benjamin Guest

  2. #2

    Default Re: About file system?

    "Benjamin Wang" <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/Servers
    automount -static [309] 0 0 0 100% /automount/static

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

  3. #3

    Default Re: About file system?



    Derk Gwen wrote: 

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

    --

    Fletcher Glenn

    Fletcher Guest

Similar Threads

  1. Writing a text file to the file system
    By cwbp in forum ASP.NET Security
    Replies: 3
    Last Post: April 2nd, 10:52 AM
  2. How to delete a file from the file system
    By Chinku Simon in forum PERL Beginners
    Replies: 1
    Last Post: October 23rd, 08:33 PM
  3. Replies: 6
    Last Post: August 19th, 11:25 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139