07-10-2007
So shall i create one with mkfs
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
hi all, i was wondering if i have some volume manager and i want to format all partitions/disks and re-create new slices can i use regular format command or what?
i think veritas volume manager is already installed. (2 Replies)
Discussion started by: Bashar
2 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I have already installed FreeBSD into my hard disk.
In one partition I have Windows 2000, and on another FreeBSD. I can access Windows partition from FreeBSD, but is there any way to access FreeBSD partition from Windows?
I know how to access Linux (ext/ext2) partition from Win, there is... (9 Replies)
Discussion started by: Aoidas
9 Replies
3. Solaris
Hi,
Anyone know if I have a mount point /data , can it turn on compression
like what the MS Windows does ????
Thanks (2 Replies)
Discussion started by: civic2005
2 Replies
4. UNIX for Advanced & Expert Users
I m using solaris 8. I have some free space on my hard disk. I want to merge that space into /export/home. Please tell me complete procedure for doing it. (7 Replies)
Discussion started by: mansoorulhaq
7 Replies
5. Linux
Grub throwing Error::
Error 24: Attempt to access block outside partition.
done the following
root (hd0,0)
After that when trying to load kernel it is throwing the error.
Please guide.
new to grub.
Thx,
Siva. (0 Replies)
Discussion started by: Sivaswami
0 Replies
6. Solaris
Hi All,
First post, I work as database developer (Oracle)
My task is to setup a solaris system on a VMware installation which sits on a x86 server.
I have installed the Os, applied patches (I think) and on VMWARE I added new hardware (Disk) which is where my database will be.
The... (5 Replies)
Discussion started by: platforminc
5 Replies
7. UNIX for Advanced & Expert Users
I am trying to setup a computer where only the database can read/write to a partition. Basically, all other entities should fail. One thing I was thinking about was making the database own the partition itself (is this even possible?) but the problem is if someone can masquerade as the database... (4 Replies)
Discussion started by: Legend986
4 Replies
8. OS X (Apple)
Hi ,
I have a Mac OS X Lion mac book pro. I have a hard drive which I have partitioned in two
(a) OSX Partition - Mac OS Extended Journaled format. Mount point: /
(b) Data Partition - Windows NT Filesystem format. Mount point: /Volumes/Data
I need to access the NTFS partition (I have a... (6 Replies)
Discussion started by: neil.k
6 Replies
9. Solaris
hi all
while formatting hard disk i am getting following error.
Partition 1 ends at 266338338
It must be between 34 and 143374704.
label error: EFI Labels do not support overlapping partitions
Partition 8 overlaps partition 1.
Warning: error writing EFI.
Label failed.
I have formatted the... (2 Replies)
Discussion started by: nikhil kasar
2 Replies
10. Red Hat
Hello Team
my scenario is like i have 2 partitions on server. /apps and /home and i am trying to install my software in /apps partition.intstallation is successful but when i am trying to open something in that its showing blank screen.
now if i install that software in /home it works... (2 Replies)
Discussion started by: lalgourav1983
2 Replies
mkfs(1M) System Administration Commands mkfs(1M)
NAME
mkfs - construct a file system
SYNOPSIS
mkfs [-F FSType] [generic_options] [-o FSType-specific_options] raw_device_file [operands]
DESCRIPTION
The mkfs utility constructs a file system on the raw_device_file by calling the specific mkfs module indicated by -F FSType.
Note: ufs file systems are normally created with the newfs(1M) command.
generic_options are independent of file system type. FSType-specific_options is a comma-separated list of keyword=value pairs (with no
intervening spaces), which are FSType-specific. raw_device_file specifies the disk partition on which to write the file system. It is
required and must be the first argument following the specific_options (if any). operands are FSType-specific. See the FSType-specific
manual page of mkfs (for example, mkfs_ufs(1M)) for a detailed description.
OPTIONS
The following are the generic options for mkfs:
-F Specify the FSType to be constructed. If -F is not specified, the FSType is determined from /etc/vfstab by matching the
raw_device_file with a vfstab entry, or by consulting the /etc/default/fs file.
-V Echo the complete command line, but do not execute the command. The command line is generated by using the options and arguments
provided and adding to them information derived from /etc/vfstab or /etc/default/fs. This option may be used to verify and vali-
date the command line.
-m Return the command line which was used to create the file system. The file system must already exist. This option provides a means
of determining the command used in constructing the file system.
-o Specify FSType-specific options. See the manual page for the mkfs module specific to the file system type.
USAGE
See largefile(5) for the description of the behavior of mkfs when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes).
FILES
/etc/default/fs Default file system type. Default values can be set for the following flags in /etc/default/fs. For example:
LOCAL=ufs
LOCAL The default partition for a command if no FSType is specified.
/etc/vfstab List of default parameters for each file system
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
mkfs_ufs(1M), newfs(1M), vfstab(4), attributes(5), largefile(5)
Manual pages for the FSType-specific modules of mkfs.
NOTES
This command might not be supported for all FSTypes.
You can use lofiadm to create a file that appears to a mkfs command as a raw device. You can then use a mkfs command to create a file sys-
tem on that device. See lofiadm(1M) for examples of creating a UFS and a PC (FAT) file system (using mkfs_ufs(1M) and mkfs_pcfs(1M)) on a
device created by lofiadm.
SunOS 5.10 17 Nov 2000 mkfs(1M)