02.07.2013 Views

A/UX® System Administrator's Reference Sections 1M, 7, and 8

A/UX® System Administrator's Reference Sections 1M, 7, and 8

A/UX® System Administrator's Reference Sections 1M, 7, and 8

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

fsdb(IM) fsdb(IM)<br />

11<br />

7 : di r : nm= name"" Change the name field in the directory<br />

slot to name.<br />

2 : db: block, *?d Display the third block of the current<br />

inode as directory entries.<br />

3c3:fragment,20:fill=Ox20<br />

Get fragment 3c3 <strong>and</strong> fills 20 type elements<br />

with Ox20.<br />

2 050 = 0 x f f f f Set the contents of address 2050 to<br />

Oxffffffff. Oxffffffff may be truncated<br />

depending on the current type.<br />

lc92434= this" is some text" " "<br />

Places the ASCn for the string at<br />

Ic92434.<br />

SVFS Examples<br />

386i<br />

In=4<br />

In=+l<br />

fc<br />

2i.fd<br />

dSi.fc<br />

S12B.pOO<br />

2i.aOb.d7=3<br />

Print inumber 386 in an inode format.<br />

This now becomes the current working<br />

inode.<br />

Change the link count for the working<br />

inode to 4.<br />

Increment the link count by I.<br />

Print, in ASCII, block 0 of the file associated<br />

with the working inode.<br />

Print the first 32 directory entries for<br />

the root inode of this file system.<br />

Change the current inode to that associated<br />

with the fifth directory entry (numbered<br />

from 0) found from the above<br />

comm<strong>and</strong>. The first logical block of<br />

the file is then printed in ASCII.<br />

Print the superblock of this file system<br />

in octal.<br />

Change the inumber for the seventh<br />

directory slot in the root directory to 3.<br />

This example also shows how several<br />

operations can be combined on one<br />

comm<strong>and</strong> line.<br />

February, 1990<br />

RevisionC

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!