Sponsored Content
Operating Systems Solaris Created a partition and modified vfstab, recieve error after reboot Post 302317451 by Ackers on Tuesday 19th of May 2009 03:35:24 AM
Old 05-19-2009
Solved the problem, when I added the partition in /etc/vfstab I missed '-' sign.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

I've created a partition with GNU Parted, how do I mount the partition?

I've created a partition with GNU Parted, how do I mount the partition? The manual information at http://www.gnu.org/software/parted/manual/parted.html is good, but I am sure about how I mount the partition afterwards. Thanks, --Todd (1 Reply)
Discussion started by: jtp51
1 Replies

2. Shell Programming and Scripting

List Files & Folders created/modified

Hello people, I want to list the files & folders created/modified since a particular date say June 2006. I know I can list recursively thru the folders and use awk to extract the date column to get the desired output. Just wanted to check whether there is an easier way to do this. Please... (2 Replies)
Discussion started by: tipsy
2 Replies

3. UNIX for Dummies Questions & Answers

how to retrieve original contents of a modified file (modified using vi)

Made changes to a file using vi editor and saved those changes now realised that the changes are not required How can I get the previous version of the file.i.e the one which was there on which I had made changes (3 Replies)
Discussion started by: novice100
3 Replies

4. Shell Programming and Scripting

How can i search a file which has been created or modified in last five minutes

Hi Can some one please help me How can i search a file which has been created or modified in last five minutes I have used the command find . -mmin -5 and it does not work i get an error -mmin is bad option Please help Much regards Tarun (2 Replies)
Discussion started by: tarundeepdhawan
2 Replies

5. Solaris

Installing gcc - recieve error message gcc : cannot execute

AIM- Install Oracle 11g on Solaris using VMWare Steps 1.Logged on as root 2.Created subfolders à /usr/local/bin & /usr/local/bin/gcc 3.Downloaded gcc & libiconv & unzipped them on my harddrive & burnt them on CD 4.Copied files from CD to /usr/local/bin/gcc 5.Terminal (root) à pkgadd -d... (8 Replies)
Discussion started by: Ackers
8 Replies

6. Shell Programming and Scripting

How to get a filename modified by attaching modified timestamp

Hi, I want to modify a filename in AIX by attaching the last modified timestamp. I want the timestamp completely in numerical format (eg:200905081210. yr-2009, mnth - 05, date -08, hr - 12, mins - 10). For example if the filename is a.log and it was modified on April 6th 2008 at 21.00. I... (16 Replies)
Discussion started by: Ruks
16 Replies

7. Shell Programming and Scripting

Find the directory modified/created before 4 days

Hi, I have an application which creates some directories while running. I want to delete these directories which are 4 days older. i tried find . type d -mtime +1 -print And it is working fine.. but find . type d -mtime +4 -print is not giving any results which are 4 days... (6 Replies)
Discussion started by: Tuxidow
6 Replies

8. Ubuntu

/etc/hostname gets modified on reboot of ubuntu box

Hi, I have a ubuntu box with /etc/hostname entry like abcd-lx . However, if the machine shuts down without a proper shutdown , on reboot, the enter in /etc/hostname looks like %vserverguest% Also, /etc/hosts gets an invalid entry in place of abcd-lx. If anyone has any idea, please help! ... (6 Replies)
Discussion started by: mnanavati
6 Replies

9. Solaris

no command works after i created new partition!!!

This was my intial setup of the partition table. Part Tag Flag Cylinders Size Blocks 0 root wm 259 - 2666 4.70GB (2408/0/0) 9863168 1 swap wu 3 - 258 512.00MB (256/0/0) 1048576 2 backup wm 0 -... (8 Replies)
Discussion started by: chidori
8 Replies

10. Shell Programming and Scripting

Listing latest modified or created files recursively

Hi, I want to display latest files (created or modified) recursively in a path. I tried in different ways, but didn't get any desired output: find $path -type f -exec ls -lt {} \; | sort -n -r find $path -type f -printf %p";" | xargs -d ";" ls -t Second one is giving the error:... (21 Replies)
Discussion started by: karumudi7
21 Replies
labelit(1M)						  System Administration Commands					       labelit(1M)

NAME
labelit - list or provide labels for file systems SYNOPSIS
labelit [-F FSType] [-V] [-o FSType-specific-options] special [operands] DESCRIPTION
The labelit utility is used to write or display labels on unmounted disk file systems. OPTIONS
The following options are supported: -F FSType Specify the FSType on which to operate. The FSType should either be specified here or be determinable from /etc/vfstab by matching the special with an entry in the table. If no matching entry is found, the default file system type specified in /etc/default/fs will be used. -V Echo complete command line. This option may be used to verify and validate the command line. Additional information obtained using a /etc/vfstab lookup is included in the output. The command is not executed. -o Specify FSType-specific options. See the manual page for the labelit module specific to the file system type. OPERANDS
The following operands are supported. If no operands are specified, labelit will display the value of the labels. special The disk partition (for example, /dev/rdsk/c0t3d0s6). The device may not be on a remote machine. operands FSType-specific operands. Consult the manual page of the FSType-specific labelit command for detailed descriptions. USAGE
See largefile(5) for the description of the behavior of labelit when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes). EXIT STATUS
The following exit values are returned: 0 Write or display of labels was successful. non-zero An error occurred. FILES
/etc/vfstab List of default parameters for each file system. /etc/default/fs Default local file system type. Default values can be set for the following flags in /etc/default/fs. For example: LOCAL=ufs The default partition for a command if no FSType is specified. LOCAL ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
labelit_hsfs(1M), labelit_udfs(1M), labelit_ufs(1M), volcopy(1M), vfstab(4), attributes(5), largefile(5) NOTES
This utility may not be supported for all FSTypes. SunOS 5.10 31 Oct 2000 labelit(1M)
All times are GMT -4. The time now is 02:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy