mikerr wrote:Never understood why it wasn't just in the alias itself, no need for external scripts,
mikerr wrote:Never understood why it wasn't just in the alias itself, no need for external scripts,
that's how my preconfigured drives have always been setup (and the way Install hack does it).
pemills wrote:Thanks guy's that certainly worked, if I use the Alias command does that get written somewhere to be used again or do I have to send the same command again if I need to set the disk to read/write or read only?
pemills wrote:and do I need to set the drive to read only when finished, what the downside if I don't?
pemills wrote:One further question is how can you determine the size of a disk installed without opening up the case and physically checking what is written on the disk
hdparm -g /dev/hda
File System/Disc Information
Mounted File Systems:
/dev/hda4 on / type ext2 (ro)
/dev/hda9 on /var type ext2 (rw)
/proc on /proc type proc (rw)
Filesystem Type Size Used Avail Capacity Mounted on
/dev/hda4 ext2 124M 44M 74M 37% /
/dev/hda9 ext2 124M 30M 88M 25% /var
/dev/hda:
multcount = 0 (off)
I/O support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
nowerr = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 16383/16/63, sectors = 488397168, start = 0
smartctl version 5.1-9 Copyright (C) 2002-3 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Device Model: SAMSUNG HA250JC
Serial Number: S094J10A139380
Firmware Version: WE100-34
ATA Version is: 7
ATA Standard is: Unrecognized. Minor revision code: 0x21
Local Time is: Wed Jul 13 19:35:43 2011 localtime
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
Users browsing this forum: No registered users and 101 guests