[gentoo-user] How to read an audio cd image

2008-08-29 Thread Teng Wang
Hi there,

I used cdrdao to create an audio cd image, namely image.iso, and the
corresponding toc file, image.iso.toc. I know since audio cd has no
filesystem on it, we cannot mount it as usual. So I want to ask if
there is anyway to play this audio  cd image. If you guys know any
reference I can refer to, that will be the best. I also want to know
how libcdio acts on the audio cd image. I tried to use cd-info with -t
option on this image, but it seems not to be the right way to handle
this problem.


Thank you in advance.

Best,

Teng



Re: [gentoo-user] How to read an audio cd image

2008-08-29 Thread Teng Wang
Hi,

Thanks. I will try later since my laptop is not beside me. However I
think I did this before but also failed. It looks weird. If this ways
works, we should also can use mplayer /dev/cdrom to play audio cd.

Best,

Teng



Re: [gentoo-user] vixie cron

2008-06-10 Thread Teng Wang
Hi,

Thank you very much. But how I can use @reboot? It
might be good if I just run fetchmail once after rebooting.
-- 
Wish you well!
Teng Wang
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] vixie cron

2008-06-06 Thread Teng Wang
Hi there,

I am using vixie cron to maintain my scheduled
jobs. Everything is just fine other than one. I find that
when I use, for example, 0 * * * *  /usr/bin/eix-sync to
update the portage everyday, the cron works without any
problem. But I was told by manpage I could still use @daily
instead. So I tried but failed. The system does nothing at
all. It is not a big issue, but I just want to make
sure it has nothing to do with my setting. Furthermore, I
still want to start some program like fetchmail after
reboot. Then I put @reboot in crontab. I also tried, and
failed. Does anybody have any idea about this?

Best,
-- 
Teng Wang
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] I applied mkswap on root partition

2007-11-19 Thread Teng Wang

Hi there,

Today, I applied mkswap on root partition by accident ( I thought that
was swap, but it is root). And since this is the only system on my
laptop, I even don't dare to reboot my computer after that. Does it
really matter? Or what should I do to recover?

Thank you all!

---
Teng
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] I applied mkswap on root partition

2007-11-19 Thread Teng Wang

No, I don't have a backup. And I still didn't turn off my laptop. The
problem is how I can recover my system?
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] I applied mkswap on root partition

2007-11-19 Thread Teng Wang

I still wonder that after mkswap the root partition, I even do
swapon. But this time, it says it is invalid argument. So I think the
data on that disk will not be lost, since it did not serve as the swap
partition. So is it still screwed? 
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] I applied mkswap on root partition

2007-11-19 Thread Teng Wang

I think it is not hard to do a backup right now. But the problem is I
use separate partition for /home /usr /usr/portage/distfiles /var
/tmp.

So, how can I exclude these directory when I use cp -av? 
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] I applied mkswap on root partition

2007-11-19 Thread Teng Wang

Since I don't think there is anything important in the root partition,
I still try to reboot my computer to see what will happen. Very Lucky,
my computer reboot normally. Thank you for all your suggestion.

But I still want to know what on earth mkswap does to the disk. IF it
would rewrite the metadata, I don't think I can use this partition
anymore. It also does not format the disk or even write
anything. Really strange. Since if I want to use one partition/file as
swap, I must run this command. But actually, it writes nothing. (Maybe
this is the reason it gives no warning)

---

Teng Wang
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] vixie cron

2007-11-10 Thread Teng Wang
I see, thank you!
Do I need add news to /etc/cron.allow?
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] vixie cron

2007-11-09 Thread Teng Wang

hey all,

Recently, I set up a local news server and want to fetch news by using
vixie cron. For security, I want to drop root to news ( only news and
root can run fetchnews). So I add one line in crontab by using
crontab -e:

*/5 * * * * news fetchnews


Actually, I just follow the examples from previous lines, which are


0  *  * * * rootrm -f /var/spool/cron/lastrun/cron.hourly
1  3  * * * rootrm -f /var/spool/cron/lastrun/cron.daily
15 4  * * 6 rootrm -f /var/spool/cron/lastrun/cron.weekly
30 5  1 * * rootrm -f /var/spool/cron/lastrun/cron.monthly
*/10  *  * * *  roottest -x /usr/sbin/run-crons 
/usr/sbin/run-crons

But, vixie seem cannot tell the user name from command, every time it
will send me an system email says that root/news command not find.

Can anybody tell me why it is so? Does vixie support to specify the
user who run the command. Thank you.

If not, is this a small bug in vixie ( when I read
/usr/share/doc/vixie*/crontab.bz2, I saw exactly the same configuration)?
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Daylight savings time

2007-11-08 Thread Teng Wang
I suggest you install ntpd, which will sync time with ntp server. And
I dont think set CLOCK=UTC is a good idea. If you are using WINXP,
it will change your clock to local always.

-- 
[EMAIL PROTECTED] mailing list