FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

LinkBack Thread Tools
Old 02-13-2008, 11:46 AM
"Shrikar archak"
Default how to get a serial number of a tape drive given a device file

Hi Geeks,

I want a small C program which would give the serial number of a tape or a library given the device files.
Like /dev/sg*..
The program should take the /dev/sg* as input and give the serial number of that particular tape drive or library.

I am not sure of how to use the ioctl call to get that one done.


ubuntu-users mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Thread Tools

All times are GMT. The time now is 01:50 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org