01-09-2010
store images into databases or path to file system files ?
hi,
I need a quick information about storing images into mysql databases.
Is more convenient to store a path to the filesystem folder in which the images are stored, or is possible to directly store the images into my tables ?
thanks
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Please excuse me if I asked some stupid questions. I know this has been asked and answered, but I didn't get the answer I need yet.
How do I create a ghost image of a Solaris system? And if I can do so, how do I restore it?
The purpose is (just like in Windows) to restore a clean system when... (3 Replies)
Discussion started by: correro
3 Replies
2. UNIX for Advanced & Expert Users
I'm writing a gui for the core utility shred. I want to be able to warn the user if they are about to shred a file that is on a journaled file system. In order to do this, I must learn the file system type of the path they are about to shred.
Is there a way in Unix to:
1. query a specific... (3 Replies)
Discussion started by: codecellar
3 Replies
3. Shell Programming and Scripting
Hi
I want to compare 2 files. The files have the same amount of rows and columns. So each line must be compare against the other and if one differs from the other, the result of both must be stored in a seperate file.
I am doing this in awk.
Here is my file1:
Blocks... (2 Replies)
Discussion started by: ladyAnne
2 Replies
4. Shell Programming and Scripting
Hi all,
this is output of ls command !!
there is differen different files permission are there , and my requirement is each file permission is stored in different different file.
rwxr-xr-x 1 root root 0 Mar 29 2011 2
-rwxr-xr-x 1 root root 0 Mar 29 2011 20
drwxr-xr-x 2... (3 Replies)
Discussion started by: anishkumarv
3 Replies
5. Shell Programming and Scripting
hello
i have two files
temp.txt
and temp_unique.text
the second file consists the unique fields from the temp.txt file
the strings stored are in the following form
4,4
17,12
15,65
4,4
14,41
15,65
65,89
1254,1298i'm able to run the following script to get the total count of a... (3 Replies)
Discussion started by: vaibhavkorde
3 Replies
6. Solaris
Hello Gurus,
I need your help with this please. I am trying to move a zone to a new directory but it keeps failing.
Below is what I did and the message I get. Your help will be appreciated.
Thanks
zoneadm -z testzone move /rpool/testzone
cannot create ZFS dataset rpool/testzone: dataset... (1 Reply)
Discussion started by: cjashu
1 Replies
7. Shell Programming and Scripting
1)In a particualr path i have a set of inputfiles like
path:/defaultmis/MonthlyLoads/INFA_EXPORT_022013/map*
example:
1)map_de
2)map_cod
3)map_feg
........and so on
in above path there wil be nearly 15 to 20 files starting with map and in other path i have another file input file... (4 Replies)
Discussion started by: katakamvivek
4 Replies
8. Shell Programming and Scripting
How do I go about programming my system? I have access to multiple data bases but no way to operate them (1 Reply)
Discussion started by: C-lo
1 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