06-24-2005
you are not going to delete any of your data unless u go for a
format or re-partition, if at all by mistake ...
and u are going (must) to install unix in non-dos partition,
which would be identified while installing itself
prompting u to install in unallocated partition...
i believe there is no problems in that.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Dear People
I have removed some of my files and directories( by using rm and rmdir commands) by mistake. I wish to bring them back. How is it possible?( I am using solaris 2.6)
best regards
Reza Nazarian:( (2 Replies)
Discussion started by: Reza Nazarian
2 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I was reading the manual on rm and it states that when you use 'rm' the files are usual recoverable, how is this done?
Does it assume that a backup system is in place?
Cheers
Jack (4 Replies)
Discussion started by: jack1981
4 Replies
3. UNIX for Advanced & Expert Users
Hi all,
We have some files are under 744 permissions and the the owner is say owner1 and group1.
Now we have another user owner2 of group2, owner2 can remove files of the owner1 and the permission of those files are 744, unix admin told us he did some config at his side so we can do that.
... (14 Replies)
Discussion started by: TheGunMan
14 Replies
4. Shell Programming and Scripting
The title says it all. I have a upnp server running fuppes that is connected to my xbox360. In order to see the files on the xbox360 i have to manually update and rebuild the database anytime i add or remove files. I have tried cron jobs to do it every 20 min which works, but if I am streaming... (0 Replies)
Discussion started by: tr6699
0 Replies
5. UNIX for Advanced & Expert Users
I have a script that have deleted some files, and I need to know which files were deleted.
Is there a log file in linux that shows deleted files?
I use ubuntu. (2 Replies)
Discussion started by: locoroco
2 Replies
6. Shell Programming and Scripting
Hello,
I have few file such as below:
abc.txt
def.txt
ghi.txt
jkl.txt
n.txt
I would like to merge all these files together into one file. At the same time, any duplicates will be removed. (5 Replies)
Discussion started by: alegnagrp
5 Replies
7. Red Hat
I wanted to know whether all files under /tmp can be safely removed. I guess that /tmp may also have temporary files for applications currently being worked on, so at the most those applications may just shut down.
I hope that my question is clear whether all files under /tmp can be safely... (5 Replies)
Discussion started by: RHCE
5 Replies
8. UNIX for Beginners Questions & Answers
Hi Folks,
I have a requirement of file management on different servers.
Source Server is SERVER-A.
Two servers will fetch files from SERVER-A: SERVER1 and SERVER2.
4th SERVER is SERVER-B, It will fetch files from SERVER1. If SERVER1 goes DOWN, SERVER-B will fetch pending files from... (2 Replies)
Discussion started by: Raza Ali
2 Replies
LEARN ABOUT DEBIAN
hformat
HFORMAT(1) General Commands Manual HFORMAT(1)
NAME
hformat - create a new HFS filesystem and make it current
SYNOPSIS
hformat [-f] [-l label] destination-path [partition-no]
DESCRIPTION
hformat is used to write a new HFS filesystem to a volume. A UNIX pathname to the volume's destination must be specified. The destination
may be either a block device or a regular file, but it must already exist and be writable.
An optional label can be specified to name the volume. The name must be between 1-27 characters and cannot contain a colon (:). By default,
the volume will be named Untitled.
If the destination medium is partitioned, one partition must be selected to receive the filesystem. If there is only one HFS partition on
the medium, it will be selected by default. Otherwise, the desired partition number must be specified (as the ordinal nth HFS partition) on
the command-line. The size of the partition determines the size of the resulting volume.
Partition number 0 can be specified to format the entire medium as a single filesystem without a partition map, erasing any existing parti-
tion information. Since this will destroy all the partitions, the -f option must be specified to force this operation if the medium cur-
rently contains a partition map.
If the medium is not partitioned (or if partition 0 is specified), the size or capacity of the medium determines the size of the resulting
volume.
The new volume will be empty and will become "current" so subsequent commands will refer to it. The current working directory for the vol-
ume is set to the root of the volume.
EXAMPLES
% hformat /dev/fd0
If a floppy disk is available as /dev/fd0, this formats the disk as an HFS volume named Untitled. (N.B. The floppy must already
have received a low-level format by other means.)
% dd if=/dev/zero of=disk.hfs bs=1k count=800
% hformat -l "Test Disk" disk.hfs
This sequence creates an 800K HFS volume image in the file disk.hfs in the current directory, and names it Test Disk.
% hformat -l "Loma Prieta" /dev/sd2 1
If a SCSI disk is available as /dev/sd2, this initializes the first HFS partition on the disk (which must already exist) with a new
filesystem, naming the resulting volume Loma Prieta.
% hformat -f /dev/sd2 0
This causes the medium accessible as /dev/sd2 to be reformatted as a single HFS volume, ignoring and erasing any existing partition
information on the medium. The -f option must be specified if the medium is currently partitioned; otherwise the command will fail.
NOTES
This command does not create or alter partition maps, although it can erase them (as described above). Any partition number specified on
the command line must already exist.
The smallest volume size which can be formatted with hformat is 800K.
SEE ALSO
hfsutils(1), hmount(1)
FILES
$HOME/.hcwd
AUTHOR
Robert Leslie <rob@mars.org>
HFSUTILS
08-Nov-1997 HFORMAT(1)