Re: Listing of current ROOT with Mount Points



Absolutely correct.

Lizette



I was wondering if any cleaver sysprog out there wrote a
process that would extract the current ROOT and its mount
points. Then compare those mountpoint to the new ROOT that
would go in with the IPL and flag any differences?

I am still to new at USS to see how to do this with REXX on z/OS.

This would need to work against HFS and zFS files. Yes - I
know that UNIX is UNIX, however, I want to make sure I am
specific enough.

I am currently working on my z/OS V1.7 to V1.9 upgrade. And
it seems we sometimes have others add mount points and not
update our documentation.

I am just looking for an easy way to see what is changing
between the two.

For example. I am adding SIGYROOT to my new ROOT. It
currently does not exist in my z/OS V1.7 Root.

Thanks for any thoughts.

Lizette

I'm not sure what you want, so I'll try to rephrase. You want a listing
of filesystems mounted, but only if they are mounted in the ROOT
filesystem. If they are mounted on a filesystem which is not ROOT, then
you don't want it listed.

As an example, suppose I have the following output from a "df" command:

/
/SYSTEM/dev
/SYSTEM/etc
/SYSTEM/tmp
/SYSTEM/var
/usr/local
/usr/local/products/opentech
/usr/local/src

You would want only the mountpoints:

/
/SYSTEM/dev
/SYSTEM/etc
/SYSTEM/tmp
/SYSTEM/var
/usr/local

and not the mount points:

/usr/local/products/opentech
/usr/local/src

Correct?


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

.



Relevant Pages

  • Re: UFS Bug: FreeBSD 6.1/6.2/7.0: MOKB-08-11-2006, CVE-2006-5824, MOKB-03
    ... They can simply mount a filesystem with any number of SUID ... root binaries on it and have their way with the box. ... They have physical access to the machine. ...
    (FreeBSD-Security)
  • Re: mounting filesytem for homedir
    ... if i mount the filesystem with the superuser ACL on the directory ... you mount the disk, and then after you mount the disk you need to again ... root, but is a problem when a user owns the entire partition filesystem. ... including the "root" of the mounted file system. ...
    (Fedora)
  • Re: Help: Suse Linux wont boot!
    ... >message that I need to check the filesystem, but as you will see, there ... The root filesystem is ... as still shown by 'mount'. ... >How to get Suse to stop getting stuck? ...
    (comp.os.linux.misc)
  • Re: Help: Suse Linux wont boot!
    ... >message that I need to check the filesystem, but as you will see, there ... The root filesystem is ... as still shown by 'mount'. ... >How to get Suse to stop getting stuck? ...
    (comp.os.linux.hardware)
  • strange "file system was modified" report from e2fsck
    ... Fill disk as root with one huge>150GB file ... Filesystem magic number: 0xEF53 ... Reserved blocks gid: 0 ...
    (Linux-Kernel)