07-19-2019
I think you need a "disk editor" tool that allows to edit the directory entries.
Cannot recommend any - I am not a Mac user.
5 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
when i try to ls -lrt the directory, the "undeletable" file is listed.
but when i try to ls -lrt *exe, the "undeletable" file is not listed.
this "undeletable" is the file that i want to delete from the directory.
but when i try to delete/rename/copy.... it, it show that "No such file or... (10 Replies)
Discussion started by: chxxangie
10 Replies
2. UNIX for Dummies Questions & Answers
I've some files created by a script.
For some reason last time the script run was interrupted for an error and the files produced by the script are undeletable.
i've tryed as root with command 'rm' and even if i got no error in command execution the files are still there.
These are the... (9 Replies)
Discussion started by: mirrorx
9 Replies
3. Shell Programming and Scripting
Hi Friends,
I'm a great fan of this forum... it has helped me tone my skills in shell scripting. I have a challenge here, which I'm sure you guys would help me in achieving...
File A has a list of job ids and I need to compare this with the File B (*.log) and File C (extend *.log) and copy... (6 Replies)
Discussion started by: asnandhakumar
6 Replies
4. Shell Programming and Scripting
Hi,
I need to compare 2 text files with around 60000 rows and 1 column. I need to compare these and write the mismatch data to 3rd file.
File1 - file2 = file3
wc -l file1.txt
58112
wc -l file2.txt
55260
head -5 file1.txt
101214200123
101214700300
101250030067
101214100500... (10 Replies)
Discussion started by: Divya Nochiyil
10 Replies
5. Shell Programming and Scripting
Shell script logic
Hi
I have 2 input files like with file 1 content as (file1)
"BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt
File 2 contents as fle(2)
"BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt
I want to get... (22 Replies)
Discussion started by: pottic
22 Replies
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