Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

fsirand(8) [freebsd man page]

FSIRAND(8)						    BSD System Manager's Manual 						FSIRAND(8)

NAME
fsirand -- randomize inode generation numbers SYNOPSIS
fsirand [-b] [-f] [-p] special [special ...] DESCRIPTION
The fsirand utility installs random generation numbers on all the inodes for each file system specified on the command line by special. This increases the security of NFS-exported file systems by making it difficult to ``guess'' filehandles. Note: newfs(8) now does the equivalent of fsirand itself so it is no longer necessary to run fsirand by hand on a new file system. It is only used to re-randomize or report on an existing file system. The fsirand utility should only be used on an unmounted file system that has been checked with fsck(8) or a file system that is mounted read- only. The fsirand utility may be used on the root file system in single-user mode but the system should be rebooted via ``reboot -n'' after- wards. OPTIONS
The available options are as follows: -b Use the default block size (usually 512 bytes) instead of the value gleaned from the disklabel. -f Force fsirand to run even if the file system on special is not marked as clean. -p Print the current generation numbers for all inodes instead of generating new ones. SEE ALSO
fs(5), fsck(8), newfs(8) HISTORY
The fsirand utility appeared in SunOS 3.x. This version of fsirand first appeared in OpenBSD 2.1. A FreeBSD version first appeared in FreeBSD 2.2.5. AUTHORS
Todd C. Miller <Todd.Miller@courtesan.com> CAVEATS
Since fsirand allocates enough memory to hold all the inodes in a given cylinder group it may use a large amount of memory for large disks with few cylinder groups. BSD
January 25, 1997 BSD

Check Out this Related Man Page

fsirand(1M)						  System Administration Commands					       fsirand(1M)

NAME
fsirand - install random inode generation numbers SYNOPSIS
fsirand [-p] special DESCRIPTION
fsirand installs random inode generation numbers on all the inodes on device special, and also installs a file system ID in the superblock. This helps increase the security of file systems exported by NFS. fsirand must be used only on an unmounted file system that has been checked with fsck(1M) The only exception is that it can be used on the root file system in single-user mode, if the system is immediately re-booted afterwards. OPTIONS
-p Print out the generation numbers for all the inodes, but do not change the generation numbers. USAGE
See largefile(5) for the description of the behavior of fsirand when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes). ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
fsck(1M), attributes(5), largefile(5) SunOS 5.10 16 Sep 1996 fsirand(1M)
Man Page

5 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

newfs

(4 Replies)
Discussion started by: venhart
4 Replies

2. Solaris

newfs

Hi, can someone please help me create a newfs on my unix server ? thankyou venhart (7 Replies)
Discussion started by: venhart
7 Replies

3. Programming

generating pair of numbers in special order

I need some help in generating pair of numbers in orders using FORTRAN code. The order is like following. loop_1: 1,2 2,3 3,4 4,5 5,6 6,7 7,8 ..... until <= 2000 loop_2: 1,3 3,5, 5,7 7,9 9,11 11,13 ........until <= 2000 loop_3: 1,4, 4,7 7,10 10,13 13,17 ..... until... (3 Replies)
Discussion started by: vjramana
3 Replies

4. UNIX for Dummies Questions & Answers

"Playing" with numbers

I am wondering if there is a way to create a file like this somehow without having to type it line by line... It becomes a torture to obtain such a file when i am dealing with large numbers, it would take forever to type line by line (which I did a couple of times, after failing to come up with a... (2 Replies)
Discussion started by: cosmologist
2 Replies

5. Solaris

Unable to create file system (newfs)

Hi I have the following cenario: I have requested a LUN from the NetApp to create a file system, and the netapp admin provide me with one as you can see below, but after following all the steps, I could not create a file system on the device: # format Searching for disks...done ... (11 Replies)
Discussion started by: fretagi
11 Replies