Sponsored Content
Operating Systems OS X (Apple) Can I erase and start my mac with unix command Post 302564985 by cowLips on Saturday 15th of October 2011 10:48:00 PM
Old 10-15-2011
security thought

if a pre existing file made by the developer had a sha 1 sum of that file in a database, that file could be checked for corruption.

just a thought that crossed my mind.
maybe some one could ask a OS developer what they think of every structural related file having a integrity check method and related value in a database.
 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Is there an unrecoverable erase command?

I am "retiring" an old unix box and need to erase all sensitive data so that it can not be recovered. Does anyone know a unix command for this? (5 Replies)
Discussion started by: snyderpa
5 Replies

2. UNIX for Dummies Questions & Answers

stty erase e command

I'm not familiar with the stty command. What would "stty erase e" do to my system and what kind of problems would it create? Also, how would I undo this command? (1 Reply)
Discussion started by: CEngel0327
1 Replies

3. UNIX for Advanced & Expert Users

How to erase tape data in unix V4.0 D?

hi! my computer is... System: Digital Personal Workstation 433a Processor: Digital Alpha 21164, 433 MHz Memory: 64 MB OS: Digital Unix Console (SRM), Digital Unix V4.0D how to erase tape data? I tried with mt erase but no success. My tape is 120m. So, how can i erase tape? ... (5 Replies)
Discussion started by: akz
5 Replies

4. UNIX for Dummies Questions & Answers

Turn python script into an installed UNIX command (Mac OS X)

Okay so i have a script i wrote in python. I want to turn this script into an INSTALLED COMMAND to run in terminal. Right now i run it like this in terminal... $ python myscriptname.py or $ ./myscriptname.py but i want to be able to run it like this in terminal... $ myscriptname ... (3 Replies)
Discussion started by: cbreiny
3 Replies

5. UNIX for Dummies Questions & Answers

Unix command for a dummy... where do i start?

I have never used Unix before and only heard of it at the start of the week. But ny new job requires me to use the Unix/Linux command, and i need an introduction for a total beginer... are there any intro videos or books you would recomend? :confused: (2 Replies)
Discussion started by: tomvcarter
2 Replies

6. AIX

How to use dd command to erase the data in disk

how to use dd command to erase the data in disk, such as hdisk2? (9 Replies)
Discussion started by: rainbow_bean
9 Replies
CDDB::File(3pm) 					User Contributed Perl Documentation					   CDDB::File(3pm)

NAME
CDDB::File - Parse a CDDB/freedb data file SYNOPSIS
my $disc = CDDB::File->new("rock/f4109511"); print $disc->id, $disc->all_ids; print $disc->artist, $disc->title; print $disc->year, $disc->genre, $disc->extd; print $disc->length, $disc->track_count; print $disc->revision, $disc->submitted_via, $disc->processed_by; foreach my $track ($disc->tracks) { print $track->number, $track->title, $track->artist; print $track->length, $track->extd; } DESCRIPTION
This module provides an interface for extracting data from CDDB-format data files, as used by freedb. It does not read data from your CD, or submit information to freedb. METHODS
new my $disc = CDDB::File->new("rock/f4109511"); This will create a new object representing the data in the file name specified. id / all_ids my $discid = $disc->id; my @discid = $disc->all_ids; Due to how freedb works, one CD may have several IDs associated with it. 'id' will return the first of these (not necessarily related to the filename from which this was read), whilst 'all_ids' will return all of them. title / artist The title and artist of this CD. For eponymous CDs these will be identical, even if the data file leaves the artist field blank. year The (4-digit) year of release. genre The genre of this CD. This is the genre as stored in the data file itself, which is not related to the 11 main freedb genres. extd The "extended data" for the CD. This is used for storing miscellaneous information which has no better storage place, and can be of any length. length The run time of the CD in seconds. track_count The number of tracks on the CD. revision Each time information regarding the CD is updated this revision number is incremented. This returns the revision number of this version. processed_by / submitted_via The software which submitted this information to freedb and which processed it at the other end. tracks foreach my $track ($disc->tracks) { print $track->number, $track->title, $track->artist; print $track->length, $track->extd; } Returns a list of Track objects, each of which knows its number (numering from 1), title, length (in seconds), offset, and may also have extended track data. Tracks may also contain an 'artist' field. If this is not set the artist method will return the artist of the CD. SEE ALSO
http://www.freedb.org/ AUTHOR
Tony Bowden BUGS and QUERIES Please direct all correspondence regarding this module to: bug-CDDB-File@rt.cpan.org COPYRIGHT
Copyright (C) 2001-2005 Tony Bowden. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. perl v5.10.1 2005-10-04 CDDB::File(3pm)
All times are GMT -4. The time now is 07:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy