Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

nbdst(8) [osx man page]

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

NAME
nbdst -- NetBoot deferred shadow tool SYNOPSIS
nbdst [-recycle | -preallocate size] devnode shadowfile DESCRIPTION
nbdst is used during NetBoot to associate a shadow file with the disk image being used as the root device. After the shadow file is attached, subsequent writes to the root device will be redirected to the shadow file, which normally resides on local storage. nbdst is invoked by /etc/rc.netboot ARGUMENTS
The following arguments must be specified: devnode The device node of the root device, in the form "disk0" shadowfile Path to a shadow file which will be created and associated with the NetBoot root device OPTIONS
-recycle If a shadow file already exists, reset it and use it again. Otherwise, information written to an existing shadow file will reap- pear. Reusing a previous shadow file without resetting it requires that the shadow file be created with the same base image. -preallocate size Set the shadow file to the given size up front. This forces a reset of the shadow file (like -recycle). NOTE
nbdst can only be run as root. SEE ALSO
hdiutil(1), hdik(8) Mac OS X 29 Apr 2003 Mac OS X

Check Out this Related Man Page

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

NAME
hdik -- lightweight tool to attach and mount disk images in-kernel SYNOPSIS
hdik imagefile [options] DESCRIPTION
hdik is a lightweight tool that can be used to attach disk images in-kernel (i.e. without a user-land process to provide the backing store). Only a subset of disk images can be mounted in this manner including read/write disk images, UDIF disk images that use zlib compression, shadowed disk images, and sparse disk images. hdik is intended for use in situations where linking against the DiskImages framework is problematic or an extremely lightweight mechanism for attaching a disk image is needed. You can specify that the image should not be processed by Disk Arbitration by specifying the -nomount option. You can also specify that the image be mounted with a shadow file by using the -shadow option. The following argument must be specified: imagefile the disk image to be mounted. OPTIONS
-shadow [shadowfile] Use a shadow file in conjunction with the data in the image. This option prevents modification of the original image and allows read-only images to be used as read/write images. When blocks are being read from the image, blocks present in the shadow file override blocks in the base image. When blocks are being written, the writes will be redirected to the shadow file. If not specified, -shadow defaults to <imagename>.shadow. If the shadow file does not exist, it is created. -nomount Suppress automatic mounting of the image or partitions on it. This will result in /dev entries being created, but will not mount any volumes. -drivekey keyname=value Specify a key/value pair for the IOHDIXHDDrive object created (shows up in the IOKit registry of devices which is viewable with ioreg(8)). SEE ALSO
hdiutil(1), diskarbitrationd(8), diskutil(8), ioreg(8) Mac OS X 29 Apr 2003 Mac OS X
Man Page

14 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Perl script - changing passwords

Just wanted options of this - first 'real' Perl script and I'm not positive of all the quirks in Perl. Any suggestions are welcome. Especially since I'm messing with /etc/shadow! Running Solaris 2.6, Perl 5.005.03 #!/u/bin/perl # # Change the user's old password to the new in /etc/shadow ... (3 Replies)
Discussion started by: thehoghunter
3 Replies

2. UNIX for Dummies Questions & Answers

Odd file with no name

OS: Solaris 2.6 File with no name created Mar of 2000 - ls (with or without options) shows the file but no name associated with it. Example: ls -ltca -rw-r--r-- 1 root other 9721 Apr 16 2003 printcap -rw-r--r-- 1 root other 267 Apr 16 2003 -rw-r--r-- 1 root other 258 Apr 16... (3 Replies)
Discussion started by: RTM
3 Replies

3. Programming

Doubt on shadow file

Hi guys, I have a doubt on shadow file ... In the Unix servers in which I am working, I cud see that the shadow file has only one permission set .. tht is read permission for only root user ... (-r--------) .... So my basic doubt here is that how this file is being written then ... only... (4 Replies)
Discussion started by: Sabari Nath S
4 Replies

4. UNIX for Advanced & Expert Users

comparing shadow files with real files

Hi I need to compare shadow file sizes with their real file counterparts. If the shadow file size differs form the realfile size then it must send a mail. My problem is that our system has over 1600 shadowfiles in different directories, with different names. the only consistancy is the .sh file... (4 Replies)
Discussion started by: terrym
4 Replies

5. UNIX for Dummies Questions & Answers

Help needed please.

i've been given an assignment to Write a system utility called recycle that satisfies the following requirements as they might be displayed in a UNIX/Linux man page: NAME recycle - stores files in a recycle bin SYNOPSIS recycle ... DESCRIPTION Recycle is a replacement for the... (3 Replies)
Discussion started by: jerryboy78
3 Replies

6. UNIX for Dummies Questions & Answers

Howto removing files with the same inode

Dear all, # ls -li total 16 2623392 drwxrwxrwx 2 root root 512 Apr 10 01:57 10HPA- 8447490 drwxr-xr-x 3 root root 512 Apr 14 05:29 118OQ- 8447490 drwxr-xr-x 3 root root 512 Apr 14 05:29 118OQ-.old 1925572 drwxrwxrwx 2 root root 512... (3 Replies)
Discussion started by: fu4d
3 Replies

7. UNIX for Dummies Questions & Answers

HP-UX recycle

Hi, I am new to HP-UX environment. Could someone help me giving commands to recycle the server and how to go to single user mode. Thanks Hemanth (3 Replies)
Discussion started by: Hemanth_gp
3 Replies

8. UNIX for Dummies Questions & Answers

Shadow File

I see conflicting definitions for the shadow file. For Solaris, what are the fields please? Thanks. (3 Replies)
Discussion started by: DavidS
3 Replies

9. Shell Programming and Scripting

intro to UNIX - making a sort-of recycle bin (for fun)

Hello, I'm only taking Intro to UNIX in school right now, so please bear with me. My problem is with a sort-of recycle-bin rig I've created for fun. I'm using Ubuntu 9.04, I am the admin. (only user, actually) of this computer. I'm using this script in ~/.bashrc # if files exist, remove contents... (6 Replies)
Discussion started by: jzacsh
6 Replies

10. HP-UX

HP UX disk io rate question

I only have two disk in my HP machine but when i execute iostat command device bps sps msps c0t0d1 0 0.0 1.0 disk0 49 2.8 1.0 disk5 0 0.0 1.0 I didn't know where device name disk0 and disk5 device name disk0 disk5 ,it is really disk or... (3 Replies)
Discussion started by: alert0919
3 Replies

11. UNIX for Dummies Questions & Answers

Help with my recycle bin code

Hi~ I have a problem with my recycle bin code. #!/bin/bash if test !-d ~/.recyclebin #if recycle bin does not exists then mkdir ~/.recyclebin # then create recycle bin else mv $1 ~/.recyclebin #else move the deleted file in the recycle bin fi so when I... (10 Replies)
Discussion started by: zel2zel
10 Replies

12. Solaris

Solaris :regarding /etc/shadow file

what does the last column in /etc/shadow file indicate?? i read man page,it tells its FLAG..but i am not able to understand exactly why its there :confused: thanks in advance, shekhar (4 Replies)
Discussion started by: shekhar_4_u
4 Replies

13. Solaris

How to scp shadow file of b form system a?

Hi all, What I have already done: 1. Same user created on both system and passwordless ssh form system a to system b through that user I need to write a small script to copy /etc/shadow file of sytem a to system b, script needs to be executed on system b. But as /etc/shadow file is owned... (5 Replies)
Discussion started by: manalisharmabe
5 Replies

14. UNIX for Advanced & Expert Users

Need a help with /etc/shadow

Hi, I wanna see the content of the file /etc/shadow.. But i don't have the permission and also the root permission. Still is it possible to view it??? Any tricks?? (5 Replies)
Discussion started by: Adhi
5 Replies