Charles.Forsyth20060303-partialeea662d19 years agoHistory
142 lines · 2.4 KB · Text
RawDownload
.TH KFSCMD 8.SH NAMEkfscmd \- kfs administration.SH SYNOPSIS.B disk/kfscmd.RB [ -n.IR name ].IR cmd " ...".SH DESCRIPTION.I Kfscmdissues commands to a.IR kfs (4)server that was started with the.B -noption to create a control file..IR Kfscmd 'sown.B -noption names the file system to which the.I cmdapplies; it is.B mainby default..PPThe known commands are described below.Note that some commands are multiple words (eg,.B checkand its flags) andshould be quoted to appear as a single argument to.IR sh (1)..TP \w'\fLallowoff\ \fIn'u.B allowTurn permission checking off (to simplify administration).Equivalent to the.B -Pand.B -Woptions to.IR kfs (4)..TP.B allowoff.PD 0.TP.B disallowTurn permission checking on (again)..PD.ig.TP.B haltwrite all changed blocks and stop the file system..TP.B helpprint the list of commands..TP.BI "rename " "file name"Change the name of.I fileto.IR name ..TP.BI "newuser " userAdd.I userto.B /adm/usersand make the standard directories needed for booting..TP.BI "remove " fileRemove.I fileand place its blocks on the free list..TP.BI "clri " fileRemove .I filebut do not place the blocks on the free list.This command can be used to remove files that have duplicated blocks.The non-duplicate blocks can be retrieved by checking the file systemwith option.B f(see below)..TP.BI create \ file\ owner\ group\ mode\  [adl]Create the file.  Owner and group are users in.B /adm/usersand mode is an octal number.If present,.L acreates an append only file,.L dcreates a directory, and.L lcreates a file that is exclusive-use....TP.B syncwrite to disk all of the dirty blocks in the memory cache..TP.B usersReinitialise authentication information by reading.BR /adm/users ..TP.B check [cdfpPqrtw]Check the file system and print summary information.The options are.PD 0.RS.TP.B cfix bad tags and clear the contents of the block..TP.B ddelete redundant references to a block..TP.B frebuild the list of free blocks..TP.B pprint the names of directories as they are checked..TP.B Pprint the names of all files as they are checked..TP.B qquiet mode: report errors, but suppress summary information..TP.B rread all of the data blocks and check the tags..TP.B tfix bad tags..TP.B wwrite all of the blocks that are touched..RE.PD.SH SOURCE.B /appl/cmd/disk/kfscmd.b.SH "SEE ALSO".IR sd (3),.IR kfs (4),.IR mkfs (8)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t